package com.yunkeji.system.domain.bo;

import com.yunkeji.common.core.validate.AddGroup;
import com.yunkeji.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.yunkeji.common.core.domain.BaseEntity;

/**
 * 礼物配置信息业务对象 ykj_user_black_list
 *
 * @author zhang
 * @date 2024-07-10
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class UserBlackListBo extends BaseEntity {

    /**
     * 
     */
    @NotNull(message = "不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 谁加黑的
     */
    @NotNull(message = "谁加黑的不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long fromUserId;

    /**
     * 被加黑的
     */
    @NotNull(message = "被加黑的不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long toUserId;


}
